package dataManagement.action.manager.storage;

import java.io.Serializable;
import java.util.HashSet;


public class Storage implements Serializable {

	private static final long serialVersionUID = 2704834636628201249L;

	private HashSet<String> storage;

	public Storage() {
		this.storage = new HashSet<String>();
	}

	public final void add(final String entity) {
		this.storage.add(entity);
	}

	public final void remove(final String entity) {
		this.storage.remove(entity);
	}

	public final boolean contains(final String action) {
		return this.storage.contains(action);
	}

	public final boolean isEmpty() {
		return this.storage.isEmpty();
	}

	protected final HashSet<String> getStorage() {
		return this.storage;
	}
}
